/**
 * * @By TonyLee
 */

#ifndef UART0_MSG_H
#define UART0_MSG_H

enum {
   AM_RADIO_COUNT_MSG = 0x93,
   Default_Interval = 512, //采样周期
   MAX_DATA = 15,
   SYNC_DATA_SUM = 3,
   COMMAND_DATA_SUM = 9,
   MCOMMAND_DATA_SUM = 9,
   ZCOMMAND_DATA_SUM = 7,
   MAX_NODATA_TIME = 30
};
typedef nx_struct radio_count_msg {
  nx_uint16_t interval;
  nx_uint16_t version;
  nx_uint16_t moteid;
  nx_uint16_t counter;
  nx_uint8_t reading[MAX_DATA];
} radio_uart0_msg_t;

#endif
